package com.ziyucoding.springboot.labs.lab10.seatdemo.atscfeign.orderservice.service;

/**
 * 订单 service接口
 *
 * @author ziyucoding
 * @date 2022-11-03
 **/
public interface OrderService {

    /**
     * 创建订单
     *
     * @param userId
     * @param productId
     * @param price
     * @return Integer
     **/
    Integer createOrder(Long userId, Long productId, Integer price) throws Exception;
}
